home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1995 January / IBM InfoROM for OS2 Beta 1-1995.ISO / testcert / storage / function / scsi / add / start.scr < prev    next >
Encoding:
Text File  |  1994-08-09  |  936 b   |  36 lines

  1. * Enables the media access operations on the logical unit.
  2.  
  3. @THREAD START.LOG
  4. @NEWALIAS SADD SCSIADD.GRA
  5. @IMPORT SCSICOM.SCR
  6. SADD DD_OPEN
  7.  
  8. * 0=Async mode, 1=Sync mode
  9. SADD SET MODE=1
  10.  
  11. * Command completion timeout (Secs)
  12. * 0=the assigned value is the default set by the driver,
  13. * -1=the assigned value is infinite.
  14. SADD SET TIMEOUT=0 
  15.  
  16. * 1(Status returned as soon as the command descriptor block is validated)
  17. * 0(Status returned after the operation is complete)
  18.   SADD SET STATUS_RETURN_IMMED = 0
  19.  
  20. * 0 = STOPS the logical unit (media cannot be accessed).
  21. * 1 = Makes the logical unit ready for use
  22. SADD SET START_STOP = 1
  23.  
  24. * 0 = No action is taken regarding the loading or ejecting media.
  25. * 1 = Medium is unloaded if the start bit is zero.
  26. *     Medium is loaded if the start bit is one
  27. SADD SET LOAD_EJECT=0
  28.  
  29. * Name for paramblock
  30. SADD SET LABEL = "START UNIT"
  31.  
  32. SADD START_STOP_UNIT
  33.  
  34. SADD DD_CLOSE
  35.  
  36.